package timertasks;

import java.util.TimerTask;

import main.WoTCWBot;
import data.bot.AbstractBattleContainer;
import data.bot.CombatContainer;

public class BattleReminderTimerTask extends TimerTask {

	AbstractBattleContainer c;
	int minutes;
	public boolean enabled=true;
	public BattleReminderTimerTask(AbstractBattleContainer c, int minutesRemaining)
	{
		this.c=c;
		this.minutes=minutesRemaining;
	}
	
	@Override
	public void run() {
		if(enabled)
		{
			WoTCWBot.bot.processBattleReminderTimerTask(c,minutes);
		}
	}

}
